package com.zwr.sheller.shop.service;

import com.zwr.sheller.core.common.WQQBusinessException;
import com.zwr.sheller.core.pojo.Store;

import java.util.Map;

/**
 * @Author: 18032
 * @Date: 16:11 2022/1/5
 */
public interface StoreService {

    /**
     * 店铺设置:点击基本信息设置显示基本信息
     * @param storeId 卖家phone
     * @return  店铺
     */
    Store selectByStoreId(Long storeId) throws WQQBusinessException;
    /**
     * 修改商铺基本信息
     * @param store store信息
     * @return 店铺
     */
    Integer updateStoreBaseMessage(Store store) throws WQQBusinessException;

    /**
     * 用于远程调用:用户进入店铺首页,展示店铺信息
     * @param storeId
     * @return
     */
    Map<String,Object> userGetStoreMessage(Long storeId) throws WQQBusinessException;
}
